package com.example.myproject.service;

import com.example.myproject.model.Customer;

import java.util.List;

public interface CustomerService {
    List<Customer> getAllCustomers();
    // 根据客户名称获取客户信息
    List<Customer> getCustomerByName(String name);
    // 新增客户
    Customer addCustomer(Customer customer);
    //更新角色
    Customer updateCustomer(String name, Customer customerDetails);
    // 删除客户
    void deleteCustomer(String name);
    // 添加合同分配方法

}
